package com.ukao.cashregister.bean;

import com.ukao.cashregister.utils.CheckUtils;

import java.util.List;

/**
 * Created by ukaodev on 2017/9/9.
 */

public class AllMarkprintBean extends  BaseBean<AllMarkprintBean> {



        /**
         * userName : #哈哈哈哈有
         * storeId : 19
         * productCnt : 7
         * storeName : 友靠麓云店
         * userPhone : 18574253625
         * productList : [{"serviceAmt":1200,"no":5,"colorDesc":"[{\"id\": \"17\", \"name\": \"蓝紫色\"}]","discount":20,"addServiceDesc":"[{\"id\": \"10\", \"amt\": \"7800\", \"name\": \"洗后褪色\"}, {\"id\": \"9\", \"amt\": \"5600\", \"name\": \"扣子掉色\"}]","type":1,"subtotal":19400,"productName":"修衣领","flawDesc":"[{\"id\": \"21\", \"name\": \"破洞\"}]","tranText":"输送线","tranNum":11,"effectDesc":"[{\"id\": \"2\", \"name\": \"洗后会起泡\"}, {\"id\": \"4\", \"name\": \"洗后丝棉打团\"}]","serviceName":"清洗","annexList":[{"serviceAmt":1200,"no":7,"discount":20,"type":2,"serviceName":"清洗","subtotal":19400,"productName":"内胆","scanCode":"529951893163","tranNum":null},{"serviceAmt":1200,"no":6,"discount":20,"type":2,"serviceName":"清洗","subtotal":19400,"productName":"帽子","scanCode":"874776142945","tranNum":null}],"annexDesc":"[{\"id\": \"13\", \"name\": \"帽子\"}, {\"id\": \"15\", \"name\": \"内胆\"}]","scanCode":"715836049137"},{"serviceAmt":1200,"no":1,"colorDesc":"[{\"id\": \"17\", \"name\": \"蓝紫色\"}]","discount":20,"addServiceDesc":null,"type":1,"subtotal":6000,"productName":"修衣领","flawDesc":"[{\"id\": \"21\", \"name\": \"破洞\"}]","tranText":"输送线","tranNum":8,"effectDesc":"[{\"id\": \"3\", \"name\": \"皮子掉色\"}]","serviceName":"清洗","annexList":[{"serviceAmt":1200,"no":4,"discount":20,"type":2,"serviceName":"清洗","subtotal":6000,"productName":"左袖饰","scanCode":"094128393260","tranNum":null},{"serviceAmt":1200,"no":3,"discount":20,"type":2,"serviceName":"清洗","subtotal":6000,"productName":"455554654","scanCode":"278642910103","tranNum":null},{"serviceAmt":1200,"no":2,"discount":20,"type":2,"serviceName":"清洗","subtotal":6000,"productName":"扣带","scanCode":"260833240080","tranNum":null}],"annexDesc":"[{\"id\": \"8\", \"name\": \"扣带\"}, {\"id\": \"17\", \"name\": \"455554654\"}, {\"id\": \"10\", \"name\": \"左袖饰\"}]","scanCode":"148165712518"}]
         * orderNo : 2017091183319991
         */
        private  boolean isPaid;
        private String userName;
        private int storeId;
        private int productCnt;
        private String storeName;
        private String userPhone;
        private String orderNo;


    private List<ProductListBean> productList;

    public boolean isPaid() {
        return isPaid;
    }

    public String getUserName() {
            return CheckUtils.isEmptyString(userName);
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public int getStoreId() {
            return storeId;
        }

        public void setStoreId(int storeId) {
            this.storeId = storeId;
        }

        public int getProductCnt() {
            return productCnt;
        }

        public void setProductCnt(int productCnt) {
            this.productCnt = productCnt;
        }

        public String getStoreName() {
            return storeName;
        }

        public void setStoreName(String storeName) {
            this.storeName = storeName;
        }

        public String getUserPhone() {
            return CheckUtils.isEmptyString(userPhone);
        }

        public void setUserPhone(String userPhone) {
            this.userPhone = userPhone;
        }

        public String getOrderNo() {
            return orderNo;
        }

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }

        public List<ProductListBean> getProductList() {
            return productList;
        }

        public void setProductList(List<ProductListBean> productList) {
            this.productList = productList;
        }

        public static class ProductListBean {
            /**
             * serviceAmt : 1200
             * no : 5
             * colorDesc : [{"id": "17", "name": "蓝紫色"}]
             * discount : 20
             * addServiceDesc : [{"id": "10", "amt": "7800", "name": "洗后褪色"}, {"id": "9", "amt": "5600", "name": "扣子掉色"}]
             * type : 1
             * subtotal : 19400
             * productName : 修衣领
             * flawDesc : [{"id": "21", "name": "破洞"}]
             * tranText : 输送线
             * tranNum : 11
             * effectDesc : [{"id": "2", "name": "洗后会起泡"}, {"id": "4", "name": "洗后丝棉打团"}]
             * serviceName : 清洗
             * annexList : [{"serviceAmt":1200,"no":7,"discount":20,"type":2,"serviceName":"清洗","subtotal":19400,"productName":"内胆","scanCode":"529951893163","tranNum":null},{"serviceAmt":1200,"no":6,"discount":20,"type":2,"serviceName":"清洗","subtotal":19400,"productName":"帽子","scanCode":"874776142945","tranNum":null}]
             * annexDesc : [{"id": "13", "name": "帽子"}, {"id": "15", "name": "内胆"}]
             * scanCode : 715836049137
             */

            private int serviceAmt;
            private int no;
            private String colorDesc;
            private int discount;
            private String addServiceDesc;
            private int type;
            private int subtotal;
            private String productName;
            private String flawDesc;
            private String tranText;
            private int tranNum;
            private String effectDesc;
            private String serviceName;
            private String annexDesc;
            private String scanCode;
            private   long createTime;

            public long getCreateTime() {
                return createTime;
            }
            private List<AnnexListBean> annexList;

            public int getServiceAmt() {
                return serviceAmt;
            }

            public void setServiceAmt(int serviceAmt) {
                this.serviceAmt = serviceAmt;
            }

            public int getNo() {
                return no;
            }

            public void setNo(int no) {
                this.no = no;
            }

            public String getColorDesc() {
                return colorDesc;
            }

            public void setColorDesc(String colorDesc) {
                this.colorDesc = colorDesc;
            }

            public int getDiscount() {
                return discount;
            }

            public void setDiscount(int discount) {
                this.discount = discount;
            }

            public String getAddServiceDesc() {
                return addServiceDesc;
            }

            public void setAddServiceDesc(String addServiceDesc) {
                this.addServiceDesc = addServiceDesc;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getSubtotal() {
                return subtotal;
            }

            public void setSubtotal(int subtotal) {
                this.subtotal = subtotal;
            }

            public String getProductName() {
                return productName;
            }

            public void setProductName(String productName) {
                this.productName = productName;
            }

            public String getFlawDesc() {
                return flawDesc;
            }

            public void setFlawDesc(String flawDesc) {
                this.flawDesc = flawDesc;
            }

            public String getTranText() {
                return tranText;
            }

            public void setTranText(String tranText) {
                this.tranText = tranText;
            }

            public int getTranNum() {
                return tranNum;
            }

            public void setTranNum(int tranNum) {
                this.tranNum = tranNum;
            }

            public String getEffectDesc() {
                return effectDesc;
            }

            public void setEffectDesc(String effectDesc) {
                this.effectDesc = effectDesc;
            }

            public String getServiceName() {
                return serviceName;
            }

            public void setServiceName(String serviceName) {
                this.serviceName = serviceName;
            }

            public String getAnnexDesc() {
                return annexDesc;
            }

            public void setAnnexDesc(String annexDesc) {
                this.annexDesc = annexDesc;
            }

            public String getScanCode() {
                return scanCode;
            }

            public void setScanCode(String scanCode) {
                this.scanCode = scanCode;
            }

            public List<AnnexListBean> getAnnexList() {
                return annexList;
            }

            public void setAnnexList(List<AnnexListBean> annexList) {
                this.annexList = annexList;
            }

            public static class AnnexListBean {
                /**
                 * serviceAmt : 1200
                 * no : 7
                 * discount : 20
                 * type : 2
                 * serviceName : 清洗
                 * subtotal : 19400
                 * productName : 内胆
                 * scanCode : 529951893163
                 * tranNum : null
                 */

                private int serviceAmt;
                private int no;
                private int discount;
                private int type;
                private String serviceName;
                private int subtotal;
                private String productName;
                private String scanCode;
                private Object tranNum;

                public int getServiceAmt() {
                    return serviceAmt;
                }

                public void setServiceAmt(int serviceAmt) {
                    this.serviceAmt = serviceAmt;
                }

                public int getNo() {
                    return no;
                }

                public void setNo(int no) {
                    this.no = no;
                }

                public int getDiscount() {
                    return discount;
                }

                public void setDiscount(int discount) {
                    this.discount = discount;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public String getServiceName() {
                    return serviceName;
                }

                public void setServiceName(String serviceName) {
                    this.serviceName = serviceName;
                }

                public int getSubtotal() {
                    return subtotal;
                }

                public void setSubtotal(int subtotal) {
                    this.subtotal = subtotal;
                }

                public String getProductName() {
                    return productName;
                }

                public void setProductName(String productName) {
                    this.productName = productName;
                }

                public String getScanCode() {
                    return scanCode;
                }

                public void setScanCode(String scanCode) {
                    this.scanCode = scanCode;
                }

                public Object getTranNum() {
                    return tranNum;
                }

                public void setTranNum(Object tranNum) {
                    this.tranNum = tranNum;
                }
            }
        }

}
